package com.ht.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ht.common.core.annotation.Excel;
import com.ht.common.core.web.domain.BaseEntity;

/**
 * 企业场所授权对象 b_enterprise_field_auth
 * 
 * @author zmx
 * @date 2025-03-22
 */
public class EnterpriseFieldAuth extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 企业代码 */
    @Excel(name = "企业代码")
    private String entCode;

    /** 场所代码 */
    @Excel(name = "场所代码")
    private String fieldCode;

    /** 做单授权0-无授权，1-授权 */
    @Excel(name = "做单授权0-无授权，1-授权")
    private String genBillsMark;

    /** 申报授权0-无授权，1-授权 */
    @Excel(name = "申报授权0-无授权，1-授权")
    private String declBillsMark;

    /** 查询授权0-无授权，1-授权 */
    @Excel(name = "查询授权0-无授权，1-授权")
    private String queryDataMark;

    /** 一站式申报授权0-无授权，1-授权 */
    @Excel(name = "一站式申报授权0-无授权，1-授权")
    private String osdMark;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    /** 申请说明 */
    @Excel(name = "申请说明")
    private String applyNote;

    /** 0-未认证；1-认证通过；2-认证退回 */
    @Excel(name = "0-未认证；1-认证通过；2-认证退回")
    private String authStatus;

    /** 认证意见 */
    @Excel(name = "认证意见")
    private String authRemark;

    /** 认证人 */
    @Excel(name = "认证人")
    private String auther;

    /** 认证时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "认证时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date authTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setEntCode(String entCode) 
    {
        this.entCode = entCode;
    }

    public String getEntCode() 
    {
        return entCode;
    }
    public void setFieldCode(String fieldCode) 
    {
        this.fieldCode = fieldCode;
    }

    public String getFieldCode() 
    {
        return fieldCode;
    }
    public void setGenBillsMark(String genBillsMark) 
    {
        this.genBillsMark = genBillsMark;
    }

    public String getGenBillsMark() 
    {
        return genBillsMark;
    }
    public void setDeclBillsMark(String declBillsMark) 
    {
        this.declBillsMark = declBillsMark;
    }

    public String getDeclBillsMark() 
    {
        return declBillsMark;
    }
    public void setQueryDataMark(String queryDataMark) 
    {
        this.queryDataMark = queryDataMark;
    }

    public String getQueryDataMark() 
    {
        return queryDataMark;
    }
    public void setOsdMark(String osdMark) 
    {
        this.osdMark = osdMark;
    }

    public String getOsdMark() 
    {
        return osdMark;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setApplyNote(String applyNote) 
    {
        this.applyNote = applyNote;
    }

    public String getApplyNote() 
    {
        return applyNote;
    }
    public void setAuthStatus(String authStatus) 
    {
        this.authStatus = authStatus;
    }

    public String getAuthStatus() 
    {
        return authStatus;
    }
    public void setAuthRemark(String authRemark) 
    {
        this.authRemark = authRemark;
    }

    public String getAuthRemark() 
    {
        return authRemark;
    }
    public void setAuther(String auther) 
    {
        this.auther = auther;
    }

    public String getAuther() 
    {
        return auther;
    }
    public void setAuthTime(Date authTime) 
    {
        this.authTime = authTime;
    }

    public Date getAuthTime() 
    {
        return authTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("entCode", getEntCode())
            .append("fieldCode", getFieldCode())
            .append("genBillsMark", getGenBillsMark())
            .append("declBillsMark", getDeclBillsMark())
            .append("queryDataMark", getQueryDataMark())
            .append("osdMark", getOsdMark())
            .append("applyTime", getApplyTime())
            .append("applyNote", getApplyNote())
            .append("authStatus", getAuthStatus())
            .append("authRemark", getAuthRemark())
            .append("auther", getAuther())
            .append("authTime", getAuthTime())
            .toString();
    }
}
